home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Mac Game Programming Gurus
/
TricksOfTheMacGameProgrammingGurus.iso
/
Book Chapters
/
03 - Advanced Graphics
/
Example 7
/
README
< prev
next >
Wrap
Text File
|
1995-06-02
|
700b
|
19 lines
All of the examples for this chapter require:
System 7
A color monitor set to 256 colors.
Example 7:
This example uses the encoded shape draw, an update rectangle list and a background.
The commands for this example are:
command-Q - quit
1, 2, 3, 4, 5, 6, 7, 8, 9, 0 - toggle individual disks on and off
shift + 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 - stop/start individual disks
u - toggle update mode -- show the area we are updating
+ and - -- increase and decrease the maximum number of update rectangles
click and hold - draw the animation without taking events
NOTE: When show update mode (u) is active, the entire screen is being copied. The real updates only happen when show update mode is off.